package contents.entities;

import java.util.Date;
import java.util.List;

public class DateSubstitutions {
    private Date date;
    private List<SubstitutionItem> substitutions;

    public DateSubstitutions(Date date, List<SubstitutionItem> substitutions) {
        this.date = date;
        this.substitutions = substitutions;
    }

    public Date getDate() {
        return date;
    }

    public List<SubstitutionItem> getSubstitutions() {
        return substitutions;
    }

    /*
     * For purpose of web service.
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /*
     * For purpose of web service.
     */
    public void setSubstitutions(List<SubstitutionItem> substitutions) {
        this.substitutions = substitutions;
    }
}
